package com.xueyi.workflow.domain.dto;

import lombok.Data;
import java.util.List;
import java.util.Map;

@Data
public class GraphSchema {
    private List<FlowNode> nodes;
    private List<FlowEdge> edges;

    @Data
    public static class FlowNode {
        private String id;
        private String type;
        private Map<String, Object> data;
    }

    @Data
    public static class FlowEdge {
        private String source;
        private String target;
    }
} 